package com.wufeng.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixFallbackService implements PaymentService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "==== fallback method paymentInfo_OK ====";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "==== fallback method paymentInfo_TimeOut ====";
    }
}
